package com.qf.service;

import com.qf.utils.ResultMsg;
import io.swagger.models.auth.In;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CartService {
    ResultMsg findAll(HttpServletRequest request);
    ResultMsg findCartById(List<Integer> cartIds);
    ResultMsg addGoods(Integer goodsId, HttpServletRequest request);

    ResultMsg modifyGoodsNum(Integer goodsId, Integer num, HttpServletRequest request);
    ResultMsg removeGoods(Integer cartId);
}
